package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName UnFinishProductionWorkProcedureVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/1/3 14:39
 * @Version 1.0
 **/
@Data
@ApiModel("未完工 产品 工序明细")
public class UnFinishProductionWorkProcedureVo {

    @ApiModelProperty(value = "加工单ID")
    private Integer productionWorkMainId;

    @ApiModelProperty(value = "加工单_明细ID")
    private Integer productionWorkDetailId;

    @ApiModelProperty(value = "加工单-工序明细ID")
    private Integer productionWorkProcedureDetailId;

    @ApiModelProperty(value = "工艺路线_工序明细ID")
    @TableField("process_route_detail_id")
    private Integer processRouteDetailId;

//    @ApiModelProperty(value = "生产车间id")
//    @TableField("office_id")
//    private Integer officeId;
//
//    @ApiModelProperty(value = "生产车间")
//    @TableField("office_name")
//    private String officeName;
//
//    @ApiModelProperty(value = "工人ID")
//    @TableField("worker_id")
//    private Integer workerId;
//
//    @ApiModelProperty(value = "工人姓名")
//    @TableField("worker_name")
//    private String workerName;
//
//    @ApiModelProperty(value = "工人工号（工人编码）")
//    @TableField("worker_no")
//    private String workerNo;


//    @ApiModelProperty(value = "班组ID")
//    @TableField("team_id")
//    private Integer teamId;
//
//    @ApiModelProperty(value = "班组名称")
//    @TableField("team_name")
//    private String teamName;

    @ApiModelProperty(value = "工序id")
    @TableField("procedure_id")
    private Integer procedureId;

    @ApiModelProperty(value = "工序名称")
    @TableField("procedure_name")
    private String procedureName;

    @ApiModelProperty(value = "工序标识1:首工序2:尾工序3:中间工序")
    @TableField("work_flag")
    private Integer workFlag;

    @ApiModelProperty(value = "生产设备")
    @TableField("equipment_name")
    private String equipmentName;

//    @ApiModelProperty(value = "物料主计量名称")
//    @TableField("base_unit_name")
//    private String baseUnitName;
//
//    @ApiModelProperty(value = "物料编码（产品编码）")
//    @TableField("inventory_code")
//    private String inventoryCode;
//
//    @ApiModelProperty(value = "规格型号")
//    @TableField("inventory_specification")
//    private String inventorySpecification;

    @ApiModelProperty(value = "累计合格数量")
    @TableField("cum_qualified_quantity")
    private BigDecimal cumQualifiedQuantity;

    @ApiModelProperty(value = "累计不合格数量")
    @TableField("cum_unqualified_quantity")
    private BigDecimal cumUnqualifiedQuantity;

    @ApiModelProperty(value = "累计返工数量")
    @TableField("cum_rework_quantity")
    private BigDecimal cumReworkQuantity;

    @ApiModelProperty(value = "累计报废数量")
    @TableField("cum_scrap_quantity")
    private BigDecimal cumScrapQuantity;


    @ApiModelProperty(value = "状态(0:进行中 1:中止 10：完工)")
    @TableField("status")
    private Integer status;

    //    /*****************   工艺路线 ---- 明细 *************/
//
//    @ApiModelProperty(value = "加工顺序")
//    @TableField("work_order")
//    private Integer workOrder;
//
    @ApiModelProperty(value = "工资类型1:计件2:计时3:不核算")
    @TableField("wages_type")
    private Integer wagesType;

    @ApiModelProperty(value = "检验方式 1:免检2:过程检验3:完工检验")
    @TableField("inspect_method")
    private Integer inspectMethod;


}
